
import { JsonUtil } from "../../../../../extensions/oops-plugin-framework/assets/core/utils/JsonUtil";

export class TableEquipmentColorConf {
    static TableName: string = "EquipmentColorConf";

    private data: any;

    init(id: number) {
        var table = JsonUtil.get(TableEquipmentColorConf.TableName);
        this.data = table[id];
        this.id = id;
    }

    /** 编号【KEY】 */
    id: number = 0;

    /** 最小 */
    get min(): number {
        return this.data.min;
    }
    /** 最大 */
    get max(): number {
        return this.data.max;
    }
    /** 套装属性 */
    get attrs(): any {
        return this.data.attrs;
    }
}
    